-
Ettercap remote_browser Plugin Fun
I’ve just spent some serious time getting Ettercap's remote_browser plugin to work as expected on my home network. The plugin allows you to view the pages that another user on your network is browsing. What actually made the difference in the end was changing the argument ordering. For once d …
- On:
-
Sack Boris 2012: Ruling class flim—flam—nonsense maker
I was chuffed to learn that the folks at Common People had been able to use the code I wrote for the What will George Osborne Cut Next random cut generator into a Boris Johnson flim-flam answer generator. You ask Boris a question and he talks errant ruling class nonsense. Just like the real thi …
- On:
-
Seven Languages In Seven Weeks
There is an idea, popularized in the Pragmatic Programmer book that its good to learn a new programming language every year. Seven Languages In Seven Weeks takes the concept one stage further, although clearly only for certain values of learning. One is never going to be proficient at any lan …
- On:
-
Ruby — Day Three
The last day is definitely the most fun. We get to play with metaprogramming with one bigger question, of which more shortly. My reflections on Ruby were it was cool to catch up with the language. I’d sort of forgotten quite how nifty it was to play with. For my money its more Perlish than th …
- On:
-
Ruby — Day Two
The second day of Ruby picks up the pace a bit, mostly focussing on the nice bits of sugar that Ruby provides and the excercises give you a chance to play with them a bit. Find out how to access files with and without blocks.#!/usr/bin/ruby -w# without blockcou …
- On:
-
Ruby — Day One
As I said, Ruby is a language I know pretty well already, so this is a gentle introduction for me. Tate compares Ruby to Mary Poppins — magical and fun. I hated that film. But I take the point. The excercises are pretty trivial, but here are my answers.Print the str …
- On:
-
One liner: Find all javascript files used by a website
Just thought I’d document this as its likely to be the sort of thing that others might need. I was doing a bit of a tidyup of our javascript files on the global justice site New Internationalist and I needed to know which javascript files were still in use. Its a recursive grep for .js file …
- On:
-
Tip: Hassle Free Passwordless Remote SSH Login
There is plenty of other documentation of how to set up remote passwordless ssh logins elsewhere on the web. But it often takes some faffing to make it work as you'd like. Now, I often do this, so I thought I’d write up the easiest way that I’ve found to do so. It only has two steps. How …
- On:
-
Drupal 7 web server performance shootout: nginx vs Apache
I was interested to see how nginx would play with Drupal 7 and how much performance boost I’d get as compared to Apache . As it turns out an extra ~50 requests a second and a lower overall system load (as measured by top).This is quite a high res screencast (thanks kazam!), so you might …
- On:
-
Debian Tip: Get a list of all installed packages with dpkg
I like to make sure that I always have a listing of all the files I have on my Debian boxen. Fortunately dpkg has a quick way of doing just that. # dpkg --get-selections > /path/to/mybackup.txt I run that once a day or so as a cron job dumping to a file, that file will be in my usual rsync backup. …
- On: